package com.itedge.infrastructure.web.controller;

import org.springframework.ui.Model;

import com.itedge.infrastructure.domain.IEntity;

/**
 * Interface for web controllers operating on {@link IEntity} objects.
 * 
 * @author jhe
 *
 */
public interface IEntityController {
	
	/**
	 * List entities.
	 * 
	 * @param page
	 * @param size
	 * @param model
	 * @return name of view used for list rendering
	 */
	public String list(Integer page, Integer size, Model model);

}
